package com.jr.entity;

import java.io.Serializable;

/**
 * @program:(project)
 * @author:Mr.Jin
 * @Date:(2023/2/20)
 */
public class Address implements Serializable {
    private static final long serialVersionUID = 5218075439509787031L;
    private int id;
    private int enterprise_id;
    private String addressee;
    private String phone;
    private String area;
    private String address_detail;
    private int default_status;
    private int exist;


    public Address(int id, String addressee, String phone, String area, String address_detail) {
        this.id = id;
        this.addressee = addressee;
        this.phone = phone;
        this.area = area;
        this.address_detail = address_detail;
    }

    public Address() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getEnterprise_id() {
        return enterprise_id;
    }

    public void setEnterprise_id(int enterprise_id) {
        this.enterprise_id = enterprise_id;
    }

    public String getAddressee() {
        return addressee;
    }

    public void setAddressee(String addressee) {
        this.addressee = addressee;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getAddress_detail() {
        return address_detail;
    }

    public void setAddress_detail(String address_detail) {
        this.address_detail = address_detail;
    }

    public int getDefault_status() {
        return default_status;
    }

    public void setDefault_status(int default_status) {
        this.default_status = default_status;
    }

    @Override
    public String toString() {
        return "Address{" +
                "id=" + id +
                ", enterprise_id=" + enterprise_id +
                ", addressee='" + addressee + '\'' +
                ", phone='" + phone + '\'' +
                ", area='" + area + '\'' +
                ", address_detail='" + address_detail + '\'' +
                ", default_status=" + default_status +
                ", exist=" + exist +
                '}';
    }
}
